﻿@using mscook.mvc;

<div class="modal hide fade"  id="deleteModal">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">×</button>
        <h3>确认</h3>
    </div>
    <div class="modal-body">
        <p>你确定要删除吗...</p>
    </div>

    <div class="modal-footer">
        <a href="#" class="btn" data-dismiss="modal">关闭</a>
        <a href="/weblogin/home" id="makesure" class="btn btn-primary">确定</a>

    </div>

</div>

<script type="text/javascript">
    $(function () {
        $("a.btn-danger").live("click", function () {
            $("#deleteModal").modal("show");
            $("#makesure").attr("href", $(this).attr("href"));
            return false;
        })
    });

</script>
